package com.ruoyi.house.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 年度销售对象 webmagic_year
 * 
 * @author ruoyi
 * @date 2023-06-09
 */
public class WebmagicYear extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 日期yyyy-MM-dd */
    @Excel(name = "日期yyyy-MM-dd")
    private String date;

    /** 区域 */
    @Excel(name = "区域")
    private String district;

    /** 可售数 */
    @Excel(name = "可售数")
    private Long saleNum;

    /** 住宅销售数 */
    @Excel(name = "住宅销售数")
    private Long buildSaleNum;

    /** 签约数 */
    @Excel(name = "签约数")
    private Long agencyNum;

    /** 签约面积 */
    @Excel(name = "签约面积")
    private Double agencyArea;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long CREATEDBY;

    /** 修改人 */
    @Excel(name = "修改人")
    private Long MODIFIEDBY;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date CREATEDON;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date MODIFIEDON;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(String date) 
    {
        this.date = date;
    }

    public String getDate() 
    {
        return date;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setSaleNum(Long saleNum) 
    {
        this.saleNum = saleNum;
    }

    public Long getSaleNum() 
    {
        return saleNum;
    }
    public void setBuildSaleNum(Long buildSaleNum) 
    {
        this.buildSaleNum = buildSaleNum;
    }

    public Long getBuildSaleNum() 
    {
        return buildSaleNum;
    }
    public void setAgencyNum(Long agencyNum) 
    {
        this.agencyNum = agencyNum;
    }

    public Long getAgencyNum() 
    {
        return agencyNum;
    }
    public void setAgencyArea(Double agencyArea)
    {
        this.agencyArea = agencyArea;
    }

    public Double getAgencyArea()
    {
        return agencyArea;
    }
    public void setCREATEDBY(Long CREATEDBY) 
    {
        this.CREATEDBY = CREATEDBY;
    }

    public Long getCREATEDBY() 
    {
        return CREATEDBY;
    }
    public void setMODIFIEDBY(Long MODIFIEDBY) 
    {
        this.MODIFIEDBY = MODIFIEDBY;
    }

    public Long getMODIFIEDBY() 
    {
        return MODIFIEDBY;
    }
    public void setCREATEDON(Date CREATEDON) 
    {
        this.CREATEDON = CREATEDON;
    }

    public Date getCREATEDON() 
    {
        return CREATEDON;
    }
    public void setMODIFIEDON(Date MODIFIEDON) 
    {
        this.MODIFIEDON = MODIFIEDON;
    }

    public Date getMODIFIEDON() 
    {
        return MODIFIEDON;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("district", getDistrict())
            .append("saleNum", getSaleNum())
            .append("buildSaleNum", getBuildSaleNum())
            .append("agencyNum", getAgencyNum())
            .append("agencyArea", getAgencyArea())
            .append("CREATEDBY", getCREATEDBY())
            .append("MODIFIEDBY", getMODIFIEDBY())
            .append("CREATEDON", getCREATEDON())
            .append("MODIFIEDON", getMODIFIEDON())
            .toString();
    }
}
